package com.javafactroy.kunlong.base.model;


import org.springframework.beans.factory.annotation.Autowired;

import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;


public class SelectModel<T,M extends BaseMapper<T>> {
    @Autowired
    M mapper;

    public List<T> select(T data) {
        return mapper.select(data);
    }
}
